//
//  NBNavigationController.m
//  qiFenQi
//
//  Created by 戒了。 on 16/4/14.
//  Copyright © 2016年 xiaomage. All rights reserved.
//

#import "NBNavigationController.h"

@interface NBNavigationController ()

@end

@implementation NBNavigationController

+ (void)load
{
    //获取当前类下的导航条
    UINavigationBar *navBar = [UINavigationBar appearanceWhenContainedIn:self, nil];
    
    //设置导航条字体 -> 拿到导航条去设置
    [UINavigationBar appearance];
    
    NSMutableDictionary *attr = [NSMutableDictionary dictionary];
    attr[NSFontAttributeName] = [UIFont systemFontOfSize:18];
    attr[NSForegroundColorAttributeName] = [UIColor grayColor];

    navBar.titleTextAttributes = attr;
    
    //设置导航条的背景颜色
//    [navBar setBackgroundImage:[UIImage imageNamed:@"white"] forBarMetrics:UIBarMetricsDefault];
    
    
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}



@end
